{"ast":null,"code":"import { genComponentStyleHook } from '../../theme/internal';\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    zIndexPopup,\n    colorText,\n    colorWarning,\n    marginXS,\n    fontSize,\n    fontWeightStrong,\n    lineHeight\n  } = token;\n  return {\n    [componentCls]: {\n      zIndex: zIndexPopup,\n      [`${componentCls}-inner-content`]: {\n        color: colorText\n      },\n      [`${componentCls}-message`]: {\n        position: 'relative',\n        marginBottom: marginXS,\n        color: colorText,\n        fontSize,\n        display: 'flex',\n        flexWrap: 'nowrap',\n        alignItems: 'start',\n        [`> ${componentCls}-message-icon ${iconCls}`]: {\n          color: colorWarning,\n          fontSize,\n          flex: 'none',\n          lineHeight: 1,\n          paddingTop: (Math.round(fontSize * lineHeight) - fontSize) / 2\n        },\n        '&-title': {\n          flex: 'auto',\n          marginInlineStart: marginXS\n        },\n        '&-title-only': {\n          fontWeight: fontWeightStrong\n        }\n      },\n      [`${componentCls}-description`]: {\n        position: 'relative',\n        marginInlineStart: fontSize + marginXS,\n        marginBottom: marginXS,\n        color: colorText,\n        fontSize\n      },\n      [`${componentCls}-buttons`]: {\n        textAlign: 'end',\n        button: {\n          marginInlineStart: marginXS\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Popconfirm', token => genBaseStyle(token), token => {\n  const {\n    zIndexPopupBase\n  } = token;\n  return {\n    zIndexPopup: zIndexPopupBase + 60\n  };\n});","map":{"version":3,"names":["genComponentStyleHook","genBaseStyle","token","componentCls","iconCls","zIndexPopup","colorText","colorWarning","marginXS","fontSize","fontWeightStrong","lineHeight","zIndex","color","position","marginBottom","display","flexWrap","alignItems","flex","paddingTop","Math","round","marginInlineStart","fontWeight","textAlign","button","zIndexPopupBase"],"sources":["/data/messenger.client/node_modules/antd/es/popconfirm/style/index.js"],"sourcesContent":["import { genComponentStyleHook } from '../../theme/internal';\n// =============================== Base ===============================\nconst genBaseStyle = token => {\n  const {\n    componentCls,\n    iconCls,\n    zIndexPopup,\n    colorText,\n    colorWarning,\n    marginXS,\n    fontSize,\n    fontWeightStrong,\n    lineHeight\n  } = token;\n  return {\n    [componentCls]: {\n      zIndex: zIndexPopup,\n      [`${componentCls}-inner-content`]: {\n        color: colorText\n      },\n      [`${componentCls}-message`]: {\n        position: 'relative',\n        marginBottom: marginXS,\n        color: colorText,\n        fontSize,\n        display: 'flex',\n        flexWrap: 'nowrap',\n        alignItems: 'start',\n        [`> ${componentCls}-message-icon ${iconCls}`]: {\n          color: colorWarning,\n          fontSize,\n          flex: 'none',\n          lineHeight: 1,\n          paddingTop: (Math.round(fontSize * lineHeight) - fontSize) / 2\n        },\n        '&-title': {\n          flex: 'auto',\n          marginInlineStart: marginXS\n        },\n        '&-title-only': {\n          fontWeight: fontWeightStrong\n        }\n      },\n      [`${componentCls}-description`]: {\n        position: 'relative',\n        marginInlineStart: fontSize + marginXS,\n        marginBottom: marginXS,\n        color: colorText,\n        fontSize\n      },\n      [`${componentCls}-buttons`]: {\n        textAlign: 'end',\n        button: {\n          marginInlineStart: marginXS\n        }\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Popconfirm', token => genBaseStyle(token), token => {\n  const {\n    zIndexPopupBase\n  } = token;\n  return {\n    zIndexPopup: zIndexPopupBase + 60\n  };\n});"],"mappings":"AAAA,SAASA,qBAAqB,QAAQ,sBAAsB;AAC5D;AACA,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IACJC,YAAY;IACZC,OAAO;IACPC,WAAW;IACXC,SAAS;IACTC,YAAY;IACZC,QAAQ;IACRC,QAAQ;IACRC,gBAAgB;IAChBC;EACF,CAAC,GAAGT,KAAK;EACT,OAAO;IACL,CAACC,YAAY,GAAG;MACdS,MAAM,EAAEP,WAAW;MACnB,CAAE,GAAEF,YAAa,gBAAe,GAAG;QACjCU,KAAK,EAAEP;MACT,CAAC;MACD,CAAE,GAAEH,YAAa,UAAS,GAAG;QAC3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